package com.liaowei.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liaowei.model.domain.UserRole;
import org.apache.ibatis.annotations.Param;

/**
* @author LindaMan
* @description 针对表【wy_user_role(用户-角色表)】的数据库操作Mapper
* @createDate 2023-05-01 17:19:40
* @Entity com.liaowei.user.model.domain.UserRole
*/
public interface UserRoleMapper extends BaseMapper<UserRole> {
    // 插入数据
    int insertUserRole(@Param("userId") long userId,
                       @Param("roleId") long roleId);

}




